//
//  CQTemplateCell.h
//  CQSplicedTemplateKit
//
//  Created by qian on 2021/3/16.
//
//  模板内部中的模板块视图

#import <CJGRKit/CJImageNormalAdjustGRView.h>
#import "CJTemplatePositionModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface CQTemplateCell : CJImageNormalAdjustGRView {
    
}
//@property (nonatomic, strong, readonly) CAShapeLayer *realPointMaskLayer; /**< 真正的模块路径 */
@property (nonatomic, strong) CJTemplatePositionModel *realTemplateModel;
@property (nullable, nonatomic, strong) CAShapeLayer *realPointBorderLayer; /**< 真正的边框 */


/*
 *  初始化
 *
 *  @param showDemoAnimate      是否布局结束就显示缩放的演示动画
 *
 *  @return 模板内部中的模板块视图
 */
- (instancetype)initWithShowDemoAnimate:(BOOL)showDemoAnimate NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithContentMode:(UIViewContentMode)contentMode NS_UNAVAILABLE;


#pragma mark - Update
- (void)updateImageByDataModel:(id)dataModel;

@end

NS_ASSUME_NONNULL_END
